Skip to content

app/vlogscli: fallback to stdout when less isn't available#1540

Open
func25 wants to merge 1 commit into
masterfrom
vlogscli-less-fallback
Open

app/vlogscli: fallback to stdout when less isn't available#1540
func25 wants to merge 1 commit into
masterfrom
vlogscli-less-fallback

Conversation

@func25

@func25 func25 commented Jun 24, 2026

Copy link
Copy Markdown
Member

Fallback to stdout instead of failing with cannot find 'less' command when less isn't in $PATH (e.g. inside the distroless image), since vlogscli pipes interactive output to less.

Remove the sync() stdout in this edge case as os.Stdout is unbuffered, so io.Copy has already written all the data.

Update #1494

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

@func25 func25 force-pushed the vlogscli-less-fallback branch from dc1c786 to 249f14d Compare June 25, 2026 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant